<template>
  <iframe class="frame" :src="url" frameborder="0"></iframe>
</template>

<script>
export default {
  name: 'frame',
  asyncData(request) {
    return {
      url: request.query.url,
      title: request.params.title
    }
  },
  head: {
    meta: [
      { title: 'extend' }
    ]
  }
}
</script>

<style>
  .frame {
    width: 100%;
    height: 100%;
  }
</style>

